﻿using UnityEngine;
using System.Collections;

public class MainCamera : MonoBehaviour 
{
	public GUIStyle myGui;
	private static int myScore;
	public AudioClip soundfx;	
	
	// Use this for initialization
	void Start () 
	{
		audio.Play();
	}
	
	// Update is called once per frame
	void Update () 
	{
		myScore = Player.score;
	}
	
	void OnGUI() 
	{
		
		GUI.Label(new Rect((Screen.width/100)*(50),(Screen.height/100)*(5), 210, 180), "Score: " + myScore, myGui );
		
		//GUI.Label(new Rect((Screen.width/100)*(56),(Screen.height/100)*(5), 210, 180), "0" + myTimer, Timer);
	}
}
